#from animal import *
"""
from animal import animal
from bdict import *

test_dict = {'a':100, 'b':200}

bd = bdict(test_dict)
print(bd.inverse())
print(bd.get_key_by_value(200))


class dog:
    def __init__(self):
        self.type = "dog"

    def talk(self):
        print("wangwang")
    def leg_num(self):
        print("4")
"""



class human:
    def __init__(self, name):
        self.type = "human"
        self.abc = 101
        self.name = name

    def talk(self):
        self.hello = "helllo"
        print("hello")
        print(self.abc)
        
    def leg_num(self):
        print("2")
        print(self.hello)
        
    def show_name(self):
        print(self.name)

a1 = human("sdl")
a2 = human("whq")
a3 = human("tang")

a1.show_name()
a2.show_name()
a3.show_name()

a2.talk()


"""       
a = dog()
b = human()
c = animal()

abc = [c, a, b]

for i in abc:
    print(i.type)
    i.talk()
    i.leg_num()
    print("----")
"""


    

    